package com.framework.boc.statistics.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "elephant")
public class ElephantGlobalConfig {

    /**
     * 文件上传路径
     */
    private static String profile;

    /**
     * 静态文件path路径
     */
    private static String resourcePrefix;

    /**
     *  导出文件中转路径
     */
    private static String exportFileSwap;

    public static String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        ElephantGlobalConfig.profile = profile;
    }

    public static String getResourcePrefix() {
        return resourcePrefix;
    }

    public void setResourcePrefix(String resourcePrefix) {
        ElephantGlobalConfig.resourcePrefix = resourcePrefix;
    }

    public static String getExportFileSwap() {
        return exportFileSwap;
    }

    public void setExportFileSwap(String exportFileSwap) {
        ElephantGlobalConfig.exportFileSwap = exportFileSwap;
    }
}
